package features.advance.edu.JPA;

/**
 * @author LIN
 * @date 2022-01-13 16:45
 */
public class Employee {
    private int id;

    private String name;

    private long salary;

    public Employee(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSalary(long salary) {
        this.salary = salary;
    }

    public long getSalary() {
        return salary;
    }
}
